package map.comparators;

import java.util.Comparator;

import map.beans.WmsServerBean;


public class WmsServerBeanComparator implements Comparator<WmsServerBean> {

	@Override
	public int compare(WmsServerBean obj1, WmsServerBean obj2) {
		Long obj1Id = Long.parseLong(String.valueOf(obj1.getUrlId()));
		Long obj2Id = Long.parseLong(String.valueOf(obj2.getUrlId()));
		
		return obj1Id.compareTo(obj2Id);		
	}

}
